<?php

class WebUser extends CWebUser{
	protected $_model;
    public function getModel(){
    	if($this->_model == null){
    		$this->_model = Users::model()->findByPk($this->getId());	
    	}
        
        return $this->_model;
    }
}